<template>
  <el-header class="nc-header">
    <div class="nc-header-row-1 header-logo-top hidden-sm-and-up">
      <img src="/static/logos/mark-logo-banner.png" :height="40" />
    </div>

    <div class="nc-header-row-2">
      <div class="header-logo-left">
        <img src="/static/logos/mark-logo-banner.png" :height="40" />
      </div>

      <div class="nc-header-menus">
        <MenuComp />
      </div>

      <div class="header-operators">
        <div class="header-operator">
          <router-link to="/edit-markdown">
            <el-button type="success">新建</el-button>
          </router-link>
        </div>
        <div class="header-operator">
          <LoginComp></LoginComp>
        </div>
      </div>
    </div>
  </el-header>
</template>

<script>
import NcLoginAvatarComp from '@/components/login-comp/NcLoginAvatarComp'
import MenuComp from '../menu-comp/MenuComp'

export default {
  name: 'HeaderComp',
  components: { LoginComp, MenuComp },
}
</script>

<style lang="scss" scoped>
@import 'header-comp';
</style>
